package daos;

import java.util.HashSet;
import java.util.Set;

/**
 * Movietype entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Movietype implements java.io.Serializable {

	// Fields

	private Integer movieTypeId;
	private String movieTypeName;
	private Set movies = new HashSet(0);

	// Constructors

	/** default constructor */
	public Movietype() {
	}

	/** minimal constructor */
	public Movietype(String movieTypeName) {
		this.movieTypeName = movieTypeName;
	}

	/** full constructor */
	public Movietype(String movieTypeName, Set movies) {
		this.movieTypeName = movieTypeName;
		this.movies = movies;
	}

	// Property accessors

	public Integer getMovieTypeId() {
		return this.movieTypeId;
	}

	public void setMovieTypeId(Integer movieTypeId) {
		this.movieTypeId = movieTypeId;
	}

	public String getMovieTypeName() {
		return this.movieTypeName;
	}

	public void setMovieTypeName(String movieTypeName) {
		this.movieTypeName = movieTypeName;
	}

	public Set getMovies() {
		return this.movies;
	}

	public void setMovies(Set movies) {
		this.movies = movies;
	}

}